﻿<%@ Page Language="C#" AutoEventWireup="true" Theme="skin_control" CodeFile="AddYearIntroduction.aspx.cs"
    Inherits="QuarterPlan_AddYearIntroduction" %>

<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>添加年计划前言</title>
    <link href="../App_Themes/css/main_css.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <div>
        <table cellpadding="0" cellspacing="0" border="0" width="100%">
            <tr>
                <td class="firstbjcolor" colspan="8" style="height: 14px;">
                    <span class="currentHere">当前位置:年计划管理-&gt;添加年计划前言</span>
                </td>
            </tr>
            <tr>
                <td style="height: 1; width: 100%;">
                </td>
            </tr>
            <tr>
                <td colspan="8" style="background-image: url(../images/secondRow.gif); background-repeat: repeat-x;
                    height: 30px;" class="tdControlRow">
                    部门:<asp:DropDownList ID="drpDepartment" runat="server" SkinID="dropdownlistSkin"
                        AutoPostBack="True" OnSelectedIndexChanged="drpDepartment_SelectedIndexChanged">
                    </asp:DropDownList>
                    &nbsp;<asp:Button ID="btnAttachmentPath" runat="server" OnClick="btnAttachmentPath_Click"
                        Text="上传文件" Width="70px" SkinID="buttonSkin" />
                    &nbsp;
                    <asp:Button ID="btnSubmit" runat="server" OnClick="btnSubmit_Click" SkinID="buttonSkin"
                        Text="提交" Width="60px" />
                </td>
            </tr>
            <tr>
                <td colspan="8">
                    <div style="height: 14px; width: 100%" id="Div1">
                        <table cellpadding="0" cellspacing="1" style="background-color: #d0d0ce;" border="0"
                            width="98.95%">
                            <tr style="background-color: #ffffff;">
                                <td class="PlanModifyTableHeader" align="center" style="width: 5%">
                                    选择
                                </td>
                                <td class="PlanModifyTableHeader" align="center" style="width: 5%">
                                    计划编号
                                </td>
                                <td class="PlanModifyTableHeader" align="center" style="width: 40%">
                                    名称
                                </td>
                                <td class="PlanModifyTableHeader" align="center" style="width: 20%">
                                    所属年份
                                </td>
                                <td class="PlanModifyTableHeader" align="center" style="width: 20%">
                                    所属部门
                                </td>
                                <td class="PlanModifyTableHeader" align="center" style="width: 10%">
                                    操作
                                </td>
                            </tr>
                        </table>
                    </div>
                </td>
            </tr>
            <tr>
                <td colspan="8">
                    <div style="overflow-y: scroll; height: 500px; width: 100%" id="dvBody">
                        <asp:GridView runat="server" ID="gdvYearIntroduction" AutoGenerateColumns="False"
                            EnableModelValidation="True" Width="100%" ShowHeader="False" DataKeyNames="Id,UploadUrl">
                            <Columns>
                                <asp:TemplateField>
                                    <ItemTemplate>
                                        <asp:CheckBox runat="server" ID="ckbSelect" />
                                    </ItemTemplate>
                                    <HeaderStyle Width="5%" />
                                    <ItemStyle Width="5%" />
                                </asp:TemplateField>
                                <asp:BoundField DataField="SortId" HeaderText="计划编号">
                                    <HeaderStyle Width="5%" />
                                    <ItemStyle Width="5%" />
                                </asp:BoundField>
                                <asp:BoundField DataField="YearIntroduction" HeaderText="名称">
                                    <HeaderStyle Width="40%" />
                                    <ItemStyle Width="40%" />
                                </asp:BoundField>
                                <asp:BoundField DataField="Year" HeaderText="所属年份">
                                    <HeaderStyle Width="20%" />
                                    <ItemStyle Width="20%" />
                                </asp:BoundField>
                                <asp:BoundField DataField="DepartmentName" HeaderText="所属部门">
                                    <HeaderStyle Width="20%" />
                                    <ItemStyle Width="20%" />
                                </asp:BoundField>
                                <asp:BoundField DataField="UploadUrl" Visible="false" HeaderText="所属部门">
                                    <HeaderStyle Width="20%" />
                                    <ItemStyle Width="20%" />
                                </asp:BoundField>
                                <asp:TemplateField>
                                    <ItemTemplate>
                                        <%--<asp:Button ID="btnView" runat="server" OnClick="btnView_Click" Text="查看" />--%>
                                        <asp:Button ID="btnDel" runat="server" OnClick="btnDel_Click" Text="删除" />
                                    </ItemTemplate>
                                    <HeaderStyle Width="10%" />
                                    <ItemStyle Width="10%" />
                                </asp:TemplateField>
                                <asp:BoundField DataField="Id" Visible="False" />
                            </Columns>
                        </asp:GridView>
                        <table cellpadding="0" cellspacing="1" style="background-color: #d0d0ce;" border="0"
                            width="100%">
                            <tr style="background-color: White">
                                <td style="width: 5%">
                                </td>
                                <td style="width: 5%">
                                    <asp:TextBox ID="txtSortId" Width="95%" runat="server"></asp:TextBox>
                                </td>
                                <td style="width: 40%">
                                    <asp:TextBox ID="txtYearIntroduction" Width="99%" runat="server"></asp:TextBox>
                                </td>
                                <td style="width: 20%">
                                    <asp:DropDownList ID="drpYear" Width="95%" runat="server" SkinID="dropdownlistSkin">
                                    </asp:DropDownList>
                                </td>
                                <td style="width: 20%">
                                    <asp:Label ID="lblDepartment" runat="server"></asp:Label>
                                </td>
                                <td style="width: 10%">
                                    <asp:Button runat="server" ID="btnAdd" Text="添加" OnClick="btnAdd_Click" />
                                </td>
                            </tr>
                        </table>
                    </div>
                </td>
            </tr>
            <tr>
                <td colspan="8">
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
